package com.yanqu.road.server.channelserver.manager.activity.entername.rank;

import java.math.BigInteger;

public class EnterNameGroupRank {

    private int groupId;

    private BigInteger value;

    private long lastUpdateTime;

    private String param = "";

    private int type;

    public EnterNameGroupRank() {
    }

    public EnterNameGroupRank(int groupId, BigInteger value, int type, long lastUpdateTime, String param) {
        this.groupId = groupId;
        this.value = value;
        this.type = type;
        this.lastUpdateTime = lastUpdateTime;
        this.param = param;
    }


    public EnterNameGroupRank clone(){
        EnterNameGroupRank rank = new EnterNameGroupRank();
        rank.setType(type);
        rank.setValue(value);
        rank.setLastUpdateTime(lastUpdateTime);
        rank.setParam(param);
        rank.setGroupId(groupId);
        return rank;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public BigInteger getValue() {
        return value;
    }

    public void setValue(BigInteger value) {
        this.value = value;
    }

    public long getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(long lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
